FROM java:8
VOLUME /tmp
ADD target/blog-service-0.0.1-SNAPSHOT.jar blog-service.jar
RUN bash -c 'touch /blog-service.jar'
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/blog-service.jar"]